package com.bro.person.admin.controller;

import com.bro.person.admin.model.AdminRole;
import com.bro.person.admin.model.AdminRoleCriteria;
import com.bro.person.admin.service.IAdminRoleService;
import com.bro.person.base.controller.AbstractBroBaseController;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * AdminRole的 controller
 *
 * @author jdd
 * @version 1.0
 * @date 2018-10-11 09:53:41
 */
@RestController
@RequestMapping("/adminRole")
public class AdminRoleController extends AbstractBroBaseController<AdminRole, AdminRoleCriteria, Integer> {

    @Resource
    private IAdminRoleService adminRoleUserService;

    @Override
    protected IAdminRoleService getService() {
        return adminRoleUserService;
    }
}